package com.ad.pet.models.remote.message;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.io.Serializable;

/**
 * Created by SEELE on 2018/8/17.
 */

public class Message implements Serializable,MultiItemEntity{
    //    "id": 3,
//            "name": "订单消息",
//            "num": 5,
//            "last_msg":
    private String id;
    private String name;
    private int num;
    private String last_msg;
    private String last_time;
    private String cid;
    private String msg_id;

//    uid": "232785",
//            "title": "积分变动通知",
//            "content": "您的积分有变动啦，可以用来抵扣服务费，快去看看吧！",
//            "location_url": "",
//            "img": "",
//            "read": "0",
//            "addtime": "2018-08-16 14:09:22"

    private String uid;
    private String title;
    private String content;
    private String location_url;

    private String img;
    private int read;
    private String addtime;
    private int expire;
    private String featured_product_id;
    private String package_id;
    private String package_featured;
    private String pg_code;
    private int type;

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getLocation_url() {
        return location_url;
    }

    public void setLocation_url(String location_url) {
        this.location_url = location_url;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public int getRead() {
        return read;
    }

    public void setRead(int read) {
        this.read = read;
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getLast_time() {
        return last_time;
    }

    public void setLast_time(String last_time) {
        this.last_time = last_time;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getLast_msg() {
        return last_msg;
    }

    public void setLast_msg(String last_msg) {
        this.last_msg = last_msg;
    }

    public int getExpire() {
        return expire;
    }

    public void setExpire(int expire) {
        this.expire = expire;
    }

    public String getMsg_id() {
        return msg_id;
    }

    public void setMsg_id(String msg_id) {
        this.msg_id = msg_id;
    }

    public String getFeatured_product_id() {
        return featured_product_id;
    }

    public void setFeatured_product_id(String featured_product_id) {
        this.featured_product_id = featured_product_id;
    }

    public String getPackage_id() {
        return package_id;
    }

    public void setPackage_id(String package_id) {
        this.package_id = package_id;
    }

    public String getPackage_featured() {
        return package_featured;
    }

    public void setPackage_featured(String package_featured) {
        this.package_featured = package_featured;
    }

    public String getPg_code() {
        return pg_code;
    }

    public void setPg_code(String pg_code) {
        this.pg_code = pg_code;
    }

    @Override
    public int getItemType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
